package liuwanghui.pojo;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class User {
    private Long userId;
    private String username;
    private String password;
    private String realName;
    private String roleType;
    private String phone;
    private String email;
    private String address;
    private String status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private LocalDateTime lastLoginTime;

    public User() {
    }

    public User(Long userId, String username, String password, String realName, String roleType, String phone, String email, String address, String status, LocalDateTime createTime, LocalDateTime updateTime, LocalDateTime lastLoginTime) {
        this.userId = userId;
        this.username = username;
        this.password = password;
        this.realName = realName;
        this.roleType = roleType;
        this.phone = phone;
        this.email = email;
        this.address = address;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.lastLoginTime = lastLoginTime;
    }
}